<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  <style type="text/css">
		.login{
			background-color:#FFC0CB;
			width: 400px;
			height:auto;
			margin: 0 auto;
			text-align: center;
			margin-top:100px;
			line-height: 40px;
		}
		.btn{
			width: 100px;
			height: 30px;
			line-height:30px;
			font-size: 16px;
			background-color: #FF7F50;
			border: none;
			color:white;
		}
	
	</style>
  <body>
    <div class="login">
   <h3>你好，欢迎访问学生信息管理系统，请登录</h3>
   <form action="login" method="get">
   		用户名：<input type="text" name="login.username" id="username"/></br>
   		密&nbsp;&nbsp;&nbsp;码：<input type="password" name="login.pwd" id="password"></br>
   		<input type="submit" name="登录" id="password" value="登录" class="btn">
   </form>
   </div>
  </body>
</html>
